<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"><!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title><g:layoutTitle default=""/>Welcome to GDepot</title>

    %{--<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">--}%
    %{--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">--}%

    %{--<asset:stylesheet src="application.css"/>--}%
    %{--<asset:javascript src="application.js"/>--}%
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir: 'css', file: 'bootstrap.min.css')}"/>
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir: 'css', file: 'agency.css')}"/>
    <link rel="stylesheet" type="text/css"
          href="${createLinkTo(dir: 'font-awesome/css', file: 'font-awesome.min.css')}"/>
    <script src="${createLinkTo(dir: 'js', file: 'jquery-2.0.0.min.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'jquery.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'bootstrap.min.js')}"></script>
    <!-- jQuery -->
    %{--<script src="js/jquery.js"></script>--}%
    <!-- Plugin JavaScript -->
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
    <script src="${createLinkTo(dir: 'js', file: 'classie.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'agency.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'cbpAnimatedHeader.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'jqBootstrapValidation.js')}"></script>

    %{--<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">--}%
    %{--<link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>--}%
    %{--<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>--}%
    %{--<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>--}%

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <g:layoutHead/>
</head>

<body>

<!-- Navigation -->
%{--	<nav class="navbar navbar-default navbar-fixed-top">--}%
<nav class="navbar navbar-default navbar-shrink">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header page-scroll">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand page-scroll" href="#page-top">GDepot</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse">

            <ul class="nav navbar-nav navbar-right">
                <sec:ifNotLoggedIn>
                    <li>
                        <g:link class="page-scroll" controller="signIn" action="auth">Login In</g:link>
                    </li>
                    <li>
                        <g:link class="page-scroll" controller="user" action="register">Sign In</g:link>
                    </li>

                </sec:ifNotLoggedIn>
                <li><g:link class="page-scroll" controller="user" action="logout">Login Out</g:link></li>
            </ul>
            <ul class="nav navbar-nav navbar-right ">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Service<b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><g:link controller="orders" action="mineOrders">Mine Order</g:link></li>
                        <li><g:link controller="cart" action="mineCart">Mine Cart</g:link></li>
                        <li><g:link controller="accountBank" action="mineAccountBank">Mine AccountBank</g:link></li>
                    </ul>
                </li>
            </ul>

            <ul class="nav navbar-nav navbar-right">

                <li class="hidden">
                    <a href="#page-top"></a>
                </li>
                <li><a href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
                <li><g:link controller="user" action="index">User Info</g:link></li>
                <li><g:link controller="goods" action="index">Good List</g:link></li>
                <li><g:link controller="goods" action="searchForm">Search</g:link></li>
                <li><g:link controller="category" action="index">Category List</g:link></li>
                <li><g:link controller="transactionRecord" action="index">TransactionRecord List</g:link></li>
                <li><a class="page-scroll">Contact</a></li>

            </ul>
            <ul class="nav  navbar-nav navbar-right">
                <li class="text-success">Welcome to our GDepot <sec:username/></li>
            </ul>
        </div>

    </div>
    <!-- /.navbar-collapse -->
    <!-- /.container-fluid -->
</nav>
<g:layoutBody/>
</body>
</html>
